package net.lanelife.casino.cms.web.controller;

import net.lanelife.casino.caipiao.dto.admin.RebatePointLevelCreateDTO;
import net.lanelife.casino.caipiao.dto.admin.RebatePointLevelDTO;
import net.lanelife.casino.caipiao.dto.admin.RebatePointLevelTable;
import net.lanelife.casino.caipiao.dto.admin.RebatePointLevelUpdateDTO;
import net.lanelife.casino.caipiao.entity.RebatePointLevel;
import net.lanelife.casino.caipiao.service.api.IRebatePointLevelService;
import net.lanelife.casino.cms.web.controller.support.CRUDController;
import net.lanelife.casino.common.service.support.IGenericService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = RebatePointLevelController.PATH)
public class RebatePointLevelController extends CRUDController<RebatePointLevel, Integer, RebatePointLevelDTO, RebatePointLevelCreateDTO, RebatePointLevelUpdateDTO, RebatePointLevelTable<RebatePointLevelDTO>> {
	
	public static final String PATH = "/rebate-point-level";
	
	public RebatePointLevelController() {
		super(PATH);
	}

	@Autowired
	private IRebatePointLevelService rebatePointLevelService;
	
	
	@Override
	protected IGenericService<RebatePointLevel, Integer> getService() {
		return rebatePointLevelService;
	}
	

}
